package com.decent.ejfadmin.common.enums;

/**
 * 闲鱼SPU状态
 *
 * @author 陈豆豆
 * @since 13/12/2019 11:51 AM
 */
public enum ProductStatusEnum {
    /**
     * 失败
     */
    ON("上架", 0),
    /**
     * 转账异常
     */
    OFF("下架", 1);

    private Integer state;

    private String msg;

    ProductStatusEnum(String msg, Integer state) {
        this.msg = msg;
        this.state = state;
    }

    public Integer getState() {
        return state;
    }

    public String getMsg() {
        return msg;
    }
}
